Set colormap of offscreen pixmaps
authorMatthias Clasen <mclasen@redhat.com>
Tue, 8 Dec 2009 14:58:23 +0000 (09:58 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 8 Dec 2009 14:58:23 +0000 (09:58 -0500)
This fixes problems in clutter-gtk. See bug 603619.

gdk/gdkoffscreenwindow.c

index 76d90158ca515a6f440dfed374c758b80dc5463b..dcba0a16e45946f9cd13507d2b693be1ad41a366 100644 (file)
@@ -659,6 +659,7 @@ _gdk_offscreen_window_new (GdkWindow     *window,
                                      private->width,
                                      private->height,
                                      private->depth);
+  gdk_drawable_set_colormap (offscreen->pixmap, offscreen->colormap);
 }
 
 static gboolean